﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SimpleTaskManager.Domain.Entities
{
    /// <summary>
    /// The class which represents a project, aka the root of the tasks
    /// </summary>
    public class Project
    {
        /// <summary>
        /// ID field
        /// </summary>
        public int ProjectID { get; set; }

        /// <summary>
        /// The parts which should be the same as a task
        /// <remarks>Instead of inheritance, simply composition is used for easier DB representation</remarks>
        /// </summary>
        public virtual Task MainTask { get; set; }
    }
}